﻿<UserControl x:Class="Save_Editor.Controls.ctrlHealthData"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:c="clr-namespace:Save_Editor.Classes"
             mc:Ignorable="d" 
             d:DesignHeight="232" d:DesignWidth="359" MaxWidth="359" MaxHeight="232" MinWidth="359" MinHeight="232">
    <UserControl.Resources>
        <c:StringToInt x:Key="sTi" />
    </UserControl.Resources>
    <Grid>
    <GroupBox Header="Health">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="84" />
            <ColumnDefinition Width="72" />
                <ColumnDefinition Width="119" />
                <ColumnDefinition Width="72" />
            </Grid.ColumnDefinitions>
        <Label Content="Toughness" Height="28" HorizontalAlignment="Right" Margin="0,6,6,0" Name="label1" VerticalAlignment="Top" />
        <Label Content="Left Arm" Height="28" Margin="0,40,6,0" Name="label2" VerticalAlignment="Top" HorizontalAlignment="Right" />
        <Label Content="Right Arm" Height="28" Margin="0,74,6,0" Name="label3" VerticalAlignment="Top" HorizontalAlignment="Right" />
        <Label Content="Torso" Height="28" Margin="0,108,6,0" Name="label4" VerticalAlignment="Top" HorizontalAlignment="Right" />
        <Label Content="Head" Height="28" Margin="0,142,6,0" Name="label5" VerticalAlignment="Top" HorizontalAlignment="Right" />
        <Label Content="Legs" Height="28" Margin="0,176,6,0" Name="label6" VerticalAlignment="Top" HorizontalAlignment="Right" />
            <TextBox Text="{Binding Torso, Converter={StaticResource appsTi}}" Height="28" Margin="0,108,6,0" Name="label7" VerticalAlignment="Top" Grid.Column="1" MaxLength="10" />
                <TextBox Text="{Binding RightArm, Converter={StaticResource appsTi}}" Height="28" Margin="0,74,6,0" Name="label8" VerticalAlignment="Top" Grid.Column="1" MaxLength="10" />
                <Label Content="{Binding Toughness, Converter={StaticResource appsTi}}" Height="28" Margin="0,6,6,0" Name="label9" VerticalAlignment="Top" Grid.Column="1" />
                <TextBox Text="{Binding LeftArm, Converter={StaticResource appsTi}}" Height="28" Margin="0,40,6,0" Name="label10" VerticalAlignment="Top" Grid.Column="1" MaxLength="10" />
                <TextBox Text="{Binding Head, Converter={StaticResource appsTi}}" Height="28" Margin="0,176,6,0" Name="label11" VerticalAlignment="Top" Grid.Column="1" MaxLength="10" />
                <TextBox Text="{Binding Legs, Converter={StaticResource appsTi}}" Height="28" Margin="0,142,6,0" Name="label12" VerticalAlignment="Top" Grid.Column="1" MaxLength="10" />
            <Label Content="Bonus Toughness" Height="28" HorizontalAlignment="Right" Margin="0,6,6,0" Name="label13" VerticalAlignment="Top" Grid.Column="2" />
            <Label Content="Bonus Left Arm" Height="28" HorizontalAlignment="Right" Margin="0,40,6,0" Name="label14" VerticalAlignment="Top" Grid.Column="2" />
            <Label Content="Bonus Right Arm" Height="28" HorizontalAlignment="Right" Margin="0,74,6,0" Name="label15" VerticalAlignment="Top" Grid.Column="2" />
            <Label Content="Bonus Torso" Height="28" HorizontalAlignment="Right" Margin="0,108,6,0" Name="label16" VerticalAlignment="Top" Grid.Column="2" />
            <Label Content="Bonus Head" Height="28" HorizontalAlignment="Right" Margin="0,142,6,0" Name="label17" VerticalAlignment="Top" Grid.Column="2" />
            <Label Content="Bonus Legs" Height="28" HorizontalAlignment="Right" Margin="0,176,6,0" Name="label18" VerticalAlignment="Top" Grid.Column="2" />
                <TextBox Height="28" Margin="0,110,6,0" Name="textBox1" Text="{Binding BonusTorso, Converter={StaticResource appsTi}}" VerticalAlignment="Top" Grid.Column="3" MaxLength="10" />
                <TextBox Height="28" Margin="0,76,6,0" Name="textBox2" Text="{Binding BonusRightArm, Converter={StaticResource appsTi}}" VerticalAlignment="Top" Grid.Column="3" MaxLength="10" />
                <TextBox Height="28" Margin="0,8,6,0" Name="textBox3" Text="{Binding BonusToughness, Converter={StaticResource appsTi}}" VerticalAlignment="Top" Grid.Column="3" MaxLength="10" />
                <TextBox Height="28" Margin="0,42,6,0" Name="textBox4" Text="{Binding BonusLeftArm, Converter={StaticResource appsTi}}" VerticalAlignment="Top" Grid.Column="3" MaxLength="10" />
                <TextBox Height="28" Margin="0,178,6,0" Name="textBox5" Text="{Binding BonusHead, Converter={StaticResource appsTi}}" VerticalAlignment="Top" Grid.Column="3" MaxLength="10" />
                <TextBox Height="28" Margin="0,144,6,0" Name="textBox6" Text="{Binding BonusLegs, Converter={StaticResource appsTi}}" VerticalAlignment="Top" Grid.Column="3" MaxLength="10" />
        </Grid>
        </GroupBox>
    </Grid>
</UserControl>
